package boerse.main;

import boerse.main.Account.AccountManagerImpl;
import boerse.main.CommandProcessor.StockGameCommandProcessor;
import boerse.main.StockPriceProvider.RandomStockPriceProvider;

public class StockGameLauncher {
	
	public static void main(String[] args) {
		RandomStockPriceProvider randomProvider = new RandomStockPriceProvider();
//		ConstStockPriceProvider constProvider = new ConstStockPriceProvider();
		
		AccountManagerImpl accountManager = new AccountManagerImpl(randomProvider);
		
		StockGameCommandProcessor cmdProcessor = new StockGameCommandProcessor(accountManager);
		
		cmdProcessor.process();
	}
}

// TODO: Paketstruktur, abstrakte klassem besser nutzen,  gui / daten trennung